package com.cherish.web.driver.service;

import com.alibaba.fastjson.JSONObject;
import com.cherish.utils.Message;
import com.cherish.web.driver.entity.Driver;
import com.cherish.web.menu.entity.Menu;
import com.cherish.web.user.entity.User;

import java.util.List;
import java.util.Map;

/**
 * Author:MQ
 * Date:2024/1/511:37
 */
public interface DriverService {
    List<Driver> getDriverListByUsername(User user, JSONObject params);

    Driver getDriverInfoById(User username,String fid);

    Message removeDriverById(User username,String fid);

    Message saveDriverInfo(String username,Driver driver);

    Message removeDriverInfo(String username,String driver);


}
